<?php

namespace App\Models;


class Recommend extends Base
{
    protected $table = 'recommend';

    const STATUS_FINISH = 2;
    const STATUS_TODO = 1;


    public function position() {
        return $this->belongsTo(Position::class, 'position_id');
    }

    public function company() {
        return $this->belongsTo(Company::class, 'company_id');
    }

    public function admin() {
        return $this->belongsTo(Admin::class, 'admin_id');
    }



}
